/**
 * 余额报警记录
 */
export interface BalanceAlarm {
  id?: number;
  dormitoryId?: number;
  equipmentId?: number;
  isSolved?: number;
  note?: string;
  deviceBalance?: number;
  createTime?: Date;
  updateTime?: Date;
  isDelete?: number;
  alarmDate?: Date;
}

export interface BalanceAlarmVO {
  id?: number;
  dormitoryId?: number;
  equipmentId?: number;
  isSolved?: number;
  note?: string;
  deviceBalance?: number;
  createTime?: Date;
  updateTime?: Date;
  isDelete?: number;
  alarmDate?: Date;
  equipmentInfo?: {
    equipmentId: number;
    equipmentName: string;
    equipmentNumber: string;
    dormitoryId: number;
    typeName: number;
    createTime: string;
    updateTime: string;
    isDelete?: number;
  };
}
/**
 * 余额报警记录查询请求
 */
export interface BalanceAlarmQueryRequest {
  current?: number;
  pageSize?: number;
  dormitoryId?: number;
  equipmentId?: number;
  isSolved?: number;
  startDate?: string;
  endDate?: string;
}

/**
 * 余额报警记录添加请求
 */
export interface BalanceAlarmAddRequest {
  dormitoryId: number;
  equipmentId: number;
  note?: string;
  deviceBalance: number;
  isSolved: number;
  alarmDate: Date;
}

/**
 * 余额报警记录更新请求
 */
export interface BalanceAlarmUpdateRequest {
  id: number;
  dormitoryId?: number;
  equipmentId?: number;
  note?: string;
  deviceBalance?: number;
  isSolved?: number;
  alarmDate?: Date;
}

/**
 * 通用删除请求
 */
export interface DeleteRequest {
  id: number;
}
